# coding:utf-8

from enum import unique

from common.constant import StatusEnum

INVITE_CARD_CACHE_KEY = 'invite_card_{}'
INVITE_CARD_CACHE_EX = 60 * 60 * 24 * 2


@unique
class WxMenu(StatusEnum):
    """
    created by chenhj at 2017/8/3

    """
    PARENT_BUTTON = ('parent_button', '父菜单')
    VIEW = ('view', '网页')
    CLICK = ('click', '点击')
    MINIPROGRAM = ('miniprogram', '小程序')


@unique
class WxUserApprovalStatus(StatusEnum):
    DEFAULT = (0, '未处理')
    PASS = (1, '通过')
    REFUSED = (2, '不通过')


